package cn.itsource.constants;

/**
 * //系统错误码
 * @Author: Jason
 * @Date: 2022/8/28 20:46
 */
public enum ErrorCode {

    SYSTEM_ERROR("1001", "系统内部错误");

    /**
     * 错误码
     */
    private String code;

    /**
     * 错误信息
     */
    private String message;

    ErrorCode(String code, String message){
        this.code = code;
        this.message = message;
    }

    public String getCode(){
        return code;
    }

    public String getMessage(){
        return message;
    }
}
